import PageTools from '@/components/PageTools/index.vue'
import UploadExcel from '@/components/UploadExcel/index.vue'
import UploadImage from '@/components/UploadImage/index.vue'
import ScreenFull from '@/components/ScreenFull/index.vue'
import ThemePicker from '@/components/ThemePicker/index.vue'
import Lang from '@/components/lang/index.vue'

export default {
  // 这个install函数，在通过vue.use注册的时候会调用的，
  // 并会把Vue传入给install函数
  install(Vue) {
    Vue.component('PageTools', PageTools)
    Vue.component('UploadExcel', UploadExcel)
    Vue.component('UploadImage', UploadImage)
    Vue.component('ScreenFull', ScreenFull)
    Vue.component('ThemePicker', ThemePicker)
    Vue.component('Lang', Lang)
  }
}
